import { Injectable } from '@nestjs/common';
import { getRepository } from 'typeorm';
import { AdminUser } from './admin-user.entity';

@Injectable()
export class AdminUserService {

  getOne(params) {
    return getRepository(AdminUser).find(params);
  }
}
